package taller2.interfaces;


public interface Connection {
	
	// returns the other node
	public Node getOtherNode();

	// returns the first node
	public Node getThisNode();
	
	// changes the weigh of the connection
	public void setWeight(int weight);
	
	// returns the weigh of the connection
	public int getWeight();

	// returns true if the connection is selected
	public boolean isSelected();

	// marks the selection to be shown in a different color
	public void select();

	// unmarks the selection to be shown normally
	public void unselect();
	
    public String getID();

	public void setCapacity(int capacity);
    
	public int getCapacity();

	public void setFlux(int flux);

	public int getFlux();
}
